import request from '@/plugins/request';

export const getResRoomList = (data) => {
  return request({
    url: '/resRoom/find',
    method: 'post',
    data
  })
}

export const createResRoom = (data) => {
  return request({
    url: '/resRoom/create',
    method: 'post',
    data
  })
}

export const updateResRoom = (data) => {
  return request({
    url: '/resRoom/update',
    method: 'post',
    data
  })
}